(function () {
  'use strict';

  angular
    .module('client')
    .config(config);

  config.$inject = ['$logProvider', '$locationProvider', '$compileProvider'];
  function config($logProvider, $locationProvider, $compileProvider) {
    //  Enable log
    $logProvider.debugEnabled(true);

    // use the HTML5 History API (Remove "#" in uri)
    // $locationProvider.html5Mode(true);
    $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|chrome-extension|blob):/);

  }
})();
